const specialtyLibrary = {
  path: '/specialty-librarys',
  name: 'specialty-librarys',
  meta: { title: '专业库', type: 2, code: 'zyk' },
  redirect: '/specialty-librarys/specialty-list',
  component: () => import('@/views/Home/courseLibrary/index.vue'),
  children: [
    {
      path: 'specialty-list',
      name: 'specialty-list-home',
      meta: {
        type: 2,
      },
      component: () =>
        import('@/views/Home/specialtyLibrary/courseList/index.vue'),
    },
    {
      path: 'specialty-detail',
      name: 'specialty-detail',
      meta: {
        title: '专业详情',
        type: 2,
        dataType: 1, //1课程，2知识点(资源)
        courseId: '',
      },
      component: () =>
        import('@/views/Home/specialtyLibrary/courseDetail/index.vue'),
      children: [
        {
          path: 'specialty-knowdedge',
          name: 'specialty-knowdedge',
          meta: {
            title: '资源详情',
            type: 2,
            dataType: 2,
          },
          component: () =>
            import('@/views/Home/courseLibrary/knowledgeDetail/index.vue'),
        },
      ],
    },
  ],
}
export default specialtyLibrary
